home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / p_man / cat3 / SCSL / cung2l.z / cung2l
Encoding:
Text File  |  2002-10-03  |  3.4 KB  |  133 lines

  1.  
  2.  
  3.  
  4. CCCCUUUUNNNNGGGG2222LLLL((((3333SSSS))))                                                          CCCCUUUUNNNNGGGG2222LLLL((((3333SSSS))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      CUNG2L - generate an m by n complex matrix Q with orthonormal columns,
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      SUBROUTINE CUNG2L( M, N, K, A, LDA, TAU, WORK, INFO )
  13.  
  14.          INTEGER        INFO, K, LDA, M, N
  15.  
  16.          COMPLEX        A( LDA, * ), TAU( * ), WORK( * )
  17.  
  18. IIIIMMMMPPPPLLLLEEEEMMMMEEEENNNNTTTTAAAATTTTIIIIOOOONNNN
  19.      These routines are part of the SCSL Scientific Library and can be loaded
  20.      using either the -lscs or the -lscs_mp option.  The -lscs_mp option
  21.      directs the linker to use the multi-processor version of the library.
  22.  
  23.      When linking to SCSL with -lscs or -lscs_mp, the default integer size is
  24.      4 bytes (32 bits). Another version of SCSL is available in which integers
  25.      are 8 bytes (64 bits).  This version allows the user access to larger
  26.      memory sizes and helps when porting legacy Cray codes.  It can be loaded
  27.      by using the -lscs_i8 option or the -lscs_i8_mp option. A program may use
  28.      only one of the two versions; 4-byte integer and 8-byte integer library
  29.      calls cannot be mixed.
  30.  
  31. PPPPUUUURRRRPPPPOOOOSSSSEEEE
  32.      CUNG2L generates an m by n complex matrix Q with orthonormal columns,
  33.      which is defined as the last n columns of a product of k elementary
  34.      reflectors of order m
  35.  
  36.            Q  =  H(k) . . . H(2) H(1)
  37.  
  38.      as returned by CGEQLF.
  39.  
  40.  
  41. AAAARRRRGGGGUUUUMMMMEEEENNNNTTTTSSSS
  42.      M       (input) INTEGER
  43.              The number of rows of the matrix Q. M >= 0.
  44.  
  45.      N       (input) INTEGER
  46.              The number of columns of the matrix Q. M >= N >= 0.
  47.  
  48.      K       (input) INTEGER
  49.              The number of elementary reflectors whose product defines the
  50.              matrix Q. N >= K >= 0.
  51.  
  52.      A       (input/output) COMPLEX array, dimension (LDA,N)
  53.              On entry, the (n-k+i)-th column must contain the vector which
  54.              defines the elementary reflector H(i), for i = 1,2,...,k, as
  55.              returned by CGEQLF in the last k columns of its array argument A.
  56.              On exit, the m-by-n matrix Q.
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. CCCCUUUUNNNNGGGG2222LLLL((((3333SSSS))))                                                          CCCCUUUUNNNNGGGG2222LLLL((((3333SSSS))))
  71.  
  72.  
  73.  
  74.      LDA     (input) INTEGER
  75.              The first dimension of the array A. LDA >= max(1,M).
  76.  
  77.      TAU     (input) COMPLEX array, dimension (K)
  78.              TAU(i) must contain the scalar factor of the elementary reflector
  79.              H(i), as returned by CGEQLF.
  80.  
  81.      WORK    (workspace) COMPLEX array, dimension (N)
  82.  
  83.      INFO    (output) INTEGER
  84.              = 0: successful exit
  85.              < 0: if INFO = -i, the i-th argument has an illegal value
  86.  
  87. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  88.      INTRO_LAPACK(3S), INTRO_SCSL(3S)
  89.  
  90.      This man page is available only online.
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.